function deleteGw(thisForm)
{
	varCollection = "";
    var alertWorld;
    var controlIndex;
    var element;
    var numberOfControls = thisForm.length;

	alertWorld="\u5220\u9664";

    for (controlIndex = 0; controlIndex < numberOfControls; controlIndex++)
    {

	  element = thisForm[controlIndex];
	  if (element.type == "checkbox")
	  {
			if (element.checked == true)
			{
				if (varCollection=="") varCollection = element.value;
				else varCollection = varCollection + "," + element.value
			}
	  }

    }
	if (varCollection == "") 
	{
		alert("\u8BF7\u9009\u62E9\u540E\u518D"+ alertWorld +"\uFF01");
		return;
	}
	if (!confirm("\u786E\u5B9A\u8981"+ alertWorld +"\u5F53\u524D\u6240\u9009\u7684\u8BB0\u5F55\u5417\uFF1F")) return;
	else {
		document.thisForm.collection.value = varCollection;
		document.thisForm.submit();
	}
}

function confirmCancel()
{
	//if (!confirm("\u786E\u5B9A\u8981\u53D6\u6D88\u5F53\u524D\u64CD\u4F5C\u5E76\u8FD4\u56DE\u5417?")) return;
	//else {
		window.history.go(-1);
	//}
}